

import java.rmi.Remote;
import java.rmi.RemoteException;


public interface IBanque extends Remote{
	void ouvrirCompte(String nom, String password) throws RemoteException, Exception;
	
	Compte connecterCompte(String nom, String password) throws RemoteException, Exception;
	
	void deconnecterCompte(String nom) throws RemoteException , Exception;
	
	int fermerCompte(String nom, String password) throws RemoteException, Exception;
	
	void deposer(int somme, Compte c) throws RemoteException, Exception;
	
	int retirer(int somme, Compte c) throws RemoteException, Exception;
	
	int balance(Compte c) throws RemoteException, Exception;

	String getContent() throws RemoteException;
}
